<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="c-num" class="control-label col-xs-12 col-sm-2">{:__('数量')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" min="0" class="form-control" name="row[num]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-category_id" class="control-label col-xs-12 col-sm-2">{:__('设备分类')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-rule="required" min="0" data-source="device/category/index" class="form-control selectpage" name="row[category_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-model_id" class="control-label col-xs-12 col-sm-2">{:__('设备型号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-model_id" data-rule="required" min="0" data-source="device/device_model/index" class="form-control selectpage" name="row[model_id]" type="text" value="">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-name" min="0" class="form-control" name="row[name]" type="text">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Speed')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-speed" data-rule="required" min="0" class="form-control" name="row[speed]" type="number" value="0">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Hardness')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-hardness" data-rule="required" min="0" class="form-control" name="row[hardness]" type="number" value="0">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Duration')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-duration" data-rule="required" min="0" class="form-control" name="row[duration]" type="number" value="0">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
